[Top] [Prev] [Next] [Bottom]
[Contents]
SaAnchStringToPieceList
Breaks an anchor string into 4 substrings contained in an Sut List. Free the return value with SutDestroyList.
#include "SaRnHtml.h"
pSutList SaAnchStringToPieceList SUTPROTO((char *inptr));
Arguments
The pointer to a string to examine.
Returns an SutList of anchor pieces or NULL if the string cannot be parsed into pieces.
Breaks an anchor string into 4 substrings contained in an Sut List. Free the return value with SutDestroyList.
char* str;
char* anch
pSutList list;
str = SaGetCurrentPtr();
if(str)
{
anch = SaGetCurrentAnchString(str);
if(anch != NULL)
{
/*** process anchor string ***/
list = SaAnchStringToPieceList(anch);
SutDestroyList(list);
free(anch);
}
}
See Also
[Top] [Prev] [Next] [Bottom]
[Contents]
info@bluestone.com
Copyright © 1997, Bluestone. All rights
reserved.